﻿using SqlSugar;

namespace MES.Model.System
{
    /// <summary>
    /// 菜单表
    /// </summary>
    [SugarTable("Sys_Menu")]
    public class Sys_Menu : ModelBase
    {


        /// <summary>
        /// 菜单名称
        /// </summary>
        [SugarColumn(ColumnDescription = "菜单名称")]
        public string MenuName { get; set; }

        /// <summary>
        /// 菜单权限
        /// </summary>
        [SugarColumn(ColumnDescription = "权限ID")]
        public int Permission_Id { get; set; }

        /// <summary>
        /// 菜单路径
        /// </summary>
        [SugarColumn(ColumnDescription = "菜单路径")]
        public string Url { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(ColumnDescription = "排序")]
        public int Sort { get; set; }

        /// <summary>
        /// 图片地址
        /// </summary>
        [SugarColumn(ColumnDescription = "图片地址")]
        public string Icon { get; set; }

        /// <summary>
        /// 父主键Id
        /// </summary>
        [SugarColumn(ColumnDescription = "父主键Id")]
        public int Parent_Id { get; set; }
    }
}
